//
//  SHChooseAlbumTool.h
//  Tradeaider
//
//  Created by 王方伟 on 2017/5/18.
//  Copyright © 2017年 Shinyhub. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^AlbumPhotosBlock)(NSArray *images);
typedef void (^AlbumPhotoBlock)(UIImage *image);
@interface SHChooseAlbumTool : NSObject
+ (instancetype)sharedChooseAlbum;

/**
 *  保存图片到相册
 *
 *  @param image 要保存的图片
 */
- (void)saveImageToAlbum:(UIImage *)image completion:(void (^)(NSError *error))completion;

/**
 *  长按保存图片到相册
 *
 *  @param image 要保存的图片
 */
- (void)longPanSaveImageToAlbum:(UIImage *)image;
@end
